/**
 * Creat by TanLei
 * Description:
 * User:86183
 * Date:2022-06-16
 * Time:13:51
 */
public class TestDemo {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        System.out.println(a > 10 && b < 10);
        System.out.println(!true);
        System.out.println(!false);
    }
    public static void main6(String[] args) {
        int a = 10;
        a = a++;
        System.out.println(a);
    }
    public static void main5(String[] args) {
        int a = 10;
        int b = ++a;//a = a + 1; b = a;
        System.out.println(b);//11
        System.out.println(a);//11
    }
    public static void main4(String[] args) {
        int a = 10;
        int b = a++;//b = a ; a = a + 1;
        System.out.println(b);//10
        System.out.println(a);//11
    }
    public static void main3(String[] args) {
        int a = 10;
        a += 10;
        System.out.println(a);

        short sh = 10;
        //sh = sh + 19;
        sh+=19; //sh = (short)(sh+9)
        System.out.println(sh);
    }
    public static void main2(String[] args) {
        System.out.println(10%3);//1
        System.out.println(10%-3);//1
        System.out.println(-10%-3);//-1
        System.out.println(-10%3);//-1

        System.out.println(11.5%2.0);
    }
    public static void main1(String[] args) {
        System.out.println(1/0);
        System.out.println("fsdafsdaf");
    }
}
